package com.koo.modules.cx.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.koo.common.base.entity.BaseEntity;
import com.koo.common.base.entity.CommonEntity;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author charlin
 * @email 136137465@qq.com
 * @date 2023-01-05 16:11:45
 */
@Data
@ApiModel("")
@TableName("cx_company_info")
public class CxCompanyInfoEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;


    @ExcelIgnore
    @TableId
    private Long companyId;

    @ColumnWidth(11)
    @ExcelProperty("上级ID")
    @ApiModelProperty(value = "上级ID")
    private Long parentId;

    @ColumnWidth(11)
    @ExcelProperty("企业编号")
    @ApiModelProperty(value = "企业编号")
    private String companyNo;

    @ColumnWidth(11)
    @ExcelProperty("企业名称")
    @ApiModelProperty(value = "企业名称")
    private String companyName;

    @ColumnWidth(11)
    @ExcelProperty("经营企业全称(上传用)")
    @ApiModelProperty(value = "经营企业全称(上传用)")
    private String companyFullName;

    @ColumnWidth(11)
    @ExcelProperty("联系人")
    @ApiModelProperty(value = "联系人")
    private String contactor;

    @ColumnWidth(11)
    @ExcelProperty("电话")
    @ApiModelProperty(value = "电话")
    private String tel;

    @ColumnWidth(11)
    @ExcelProperty("邮箱")
    @ApiModelProperty(value = "邮箱")
    private String email;

    @ColumnWidth(11)
    @ExcelProperty("手机")
    @ApiModelProperty(value = "手机")
    private String mobile;

    @ColumnWidth(11)
    @ExcelProperty("企业地址")
    @ApiModelProperty(value = "企业地址")
    private String address;


}
